import { axios } from "@/services/axios";

const Tabletype = {
  getlist: params => axios.post(`api/tabletype/list`, params),
  get: data => axios.get(`api/tabletype/${data.id}`),
  getid: data => axios.get("api/tabletype", data),
  create: data => axios.post("api/tabletype", data),
  save: data => axios.post(`api/tabletype/${data.id}`, data),
  delete: data => axios.delete(`api/tabletype/${data.id}`),
};
export default Tabletype;


